package com.ruoyi.web.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 风场特征计算表
 * </p>
 *
 * @author liuhl
 * @since 2024-04-24
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("WIND_CHARACTER_CAL")
@ApiModel(value = "WindCharacterCal对象", description = "风场特征计算表")
public class WindCharacterCal extends Model<WindCharacterCal> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private BigInteger id;

    @ApiModelProperty("类型：卫星-satellite，雷达-radar")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty("开始时间")
    @TableField("START_TIME")
    private String startTime;

    @ApiModelProperty("结束时间")
    @TableField("END_TIME")
    private String endTime;

    @ApiModelProperty("插值方法")
    @TableField("METHOD")
    private String method;

    @ApiModelProperty("卫星名称")
    @TableField("SATE_NAME")
    private String sateName;

    @ApiModelProperty("数据类型")
    @TableField("DATA_TYPE")
    private String dataType;

    @ApiModelProperty("计算结果路径")
    @TableField("FILE_PATH")
    private String filePath;

    @ApiModelProperty("【仅雷达数据时存在】数据名称")
    @TableField("DATA_NAME")
    private String dataName;

    @ApiModelProperty("创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
